package com.zhejiangzhengyuan.municipal_common.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.zhejiangzhengyuan.municipal_common.entity.InspectionRecord;
import com.zhejiangzhengyuan.municipal_common.entity.dto.InspectionRecordTaskDto;
import com.zhejiangzhengyuan.municipal_common.entity.dto.NewCase;
import com.zhejiangzhengyuan.municipal_common.entity.dto.UpdateFileDto;
import com.zhejiangzhengyuan.municipal_common.entity.vo.InspectionTasksVo;
import com.zhejiangzhengyuan.municipal_common.entity.vo.TaskVo;

import java.util.List;

/**
 * 巡检记录表，用于记录目前巡检工作产生数据 服务类
 *
 * @author linju
 * @since 2019-11-22
 */
public interface InspectionRecordService extends IService<InspectionRecord> {

    IPage<InspectionTasksVo> selectInspectionRecordManageVo(
            Page<InspectionTasksVo> inspectionRecordQueryVoPage, String status);

    // int updateInspectionRecordManage(InspectionRecordTaskDto inspectionRecordDto,
    // List<MultipartFile> fileList, List<String> urlList);

    List<Long> insertInspectionRecordManage(InspectionRecordTaskDto dto);

    boolean deleteInspectionRecordManage(List<Long> idList);

    int commitInspectionRecordManage(Long id);

    int receivingTaskInspection(Long id);

    int updateInspectionRecordManage(InspectionRecordTaskDto inspectionRecordDto);

    List<TaskVo> selectTaskAll(String status);

    int insertInspectionCase(NewCase newCase);

    int updateInspectionFile(UpdateFileDto updateFileDto);



}
